package com.huatai.model.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @program: nanming-saas
 * @description: 模型实体
 * @author: songxiude
 * @create: 2024-04-28 16:01
 **/
@Data
@ApiModel(value = "Model对象", description = "模型")
public class Model implements Serializable{

//	private static final long serialVersionUID = 1L;

	@ApiModelProperty("数据源id")
	private Long id;

	@TableField("modelName")
	@ApiModelProperty("模型名称")
	private String modelName;

	@TableField("modelVersion")
	@ApiModelProperty("模型型号")
	private String modelVersion;

	@TableField("modelSpecification")
	@ApiModelProperty("模型尺寸")
	private String modelSpecification;

	@TableField("maxSpeed")
	@ApiModelProperty("最大速度")
	private String maxSpeed;

	@TableField("tonnage")
	@ApiModelProperty("排水量")
	private String tonnage;

	@TableField("affiliatedUnit")
	@ApiModelProperty("所属单位")
	private String affiliatedUnit;

	@TableField("fbxFile")
	@ApiModelProperty("fbx文件")
	private String fbxFile;

	@TableField("fbxFileyl")
	@ApiModelProperty("fbx文件预览地址")
	private String fbxFileyl;

	@TableField("fbx_file_type")
	@ApiModelProperty("fbx文件文件类型")
	private String fbxFileType;

	@TableField("diffuseMap")
	@ApiModelProperty("漫反射贴图")
	private String diffuseMap;

	@TableField("mirrorMap")
	@ApiModelProperty("镜面贴图")
	private String mirrorMap;

	@TableField("normalMap")
	@ApiModelProperty("法线贴图")
	private String normalMap;

	@TableField("masterMap")
	@ApiModelProperty("高清原图")
	private String masterMap;

	@TableField("simpleMap")
	@ApiModelProperty("简模图片")
	private String simpleMap;

	@ApiModelProperty("分类")
	@TableField("type_key")
	private String typeKey;

	@ApiModelProperty("用途")
	@TableField("use_key")
	private String useKey;

	@ApiModelProperty("模型类型1贴图模型2多图模型")
	private Integer modelType;

	@ApiModelProperty("压缩文件路径")
	private String zipFile;

	@ApiModelProperty("行业")
	@TableField("industry_key")
	private String industryKey;

	@ApiModelProperty("模型尺寸单位")
	@TableField("modelSpecification_unit")
	private String modelSpecificationUnit;

	@ApiModelProperty("最大速度单位")
	@TableField("maxSpeed_unit")
	private String maxSpeedUnit;

	@ApiModelProperty("排水量单位")
	@TableField("tonnage_unit")
	private String tonnageUnit;

	@TableField(value = "createTime", fill = FieldFill.INSERT)
	@ApiModelProperty("创建时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime createTime;

	@TableField(value = "updateTime", fill = FieldFill.INSERT_UPDATE)
	@ApiModelProperty("更新时间")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private LocalDateTime updateTime;

	@ApiModelProperty("备注说明")
	private String remark;

	@ApiModelProperty("选择状态")
	private Boolean selectStatus;

	@ApiModelProperty("行业名称")
	private String industryKeyName;

	@ApiModelProperty("价格")
	private BigDecimal price;

}
